package com.hospital.wx.service;

import org.springframework.web.multipart.MultipartFile;

import java.util.Map;

public interface PatientUserService {

    Map<String, Object> loginOrRegister(
            String code, String nickname,
            String photo, String sex);

    String uploadAvatar(MultipartFile file);

    int updatePatientUser(Map map);

    int selectAppointmentCount();

}
